<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CatalogItemSelector.ascx.cs" Inherits="UCommerce.Web.UI.Catalog.Dialogs.CatalogItemSelector" %>

<div class="propertyItem">
	<table width="100%">
		<tr>
			<th><%= GetLocalResourceObject("CatalogItems.Text") %></th>
			<th><%= GetLocalResourceObject("Items.Text") %></th>
			<td></td>
			<th><asp:PlaceHolder id="SelectedItemsLabelPlaceHolder" runat="server"><%= GetLocalResourceObject("SelectedItems.Text") %></asp:PlaceHolder></th>
		</tr>
		<tr>
			<td valign="top" style="width:250px; padding-right:10px;">
				<asp:TreeView ID="SelectorTreeView" runat="server" OnSelectedNodeChanged="SelectorTreeView_OnSelectedNodeChanged"  />		
			</td>
			<td valign="top">
				<asp:ListBox ID="CatalogItemsListBox" runat="server" SelectionMode="Multiple" style="width:170px; height: 230px;" DataTextField="Text" DataValueField="Value" />		
			</td>
			<td>
				<asp:Button ID="AddRelationsButton" runat="server" Text=" > " OnClick="AddRelationsButton_Click" />
				<br />
				<asp:Button ID="RemoveRelationsButton" runat="server" Text=" < " OnClick="RemoveRelationsButton_Click" />
			</td>
			<td valign="top">
				<asp:ListBox ID="SelectedCatalogItemListBox" runat="server" SelectionMode="Multiple" style="width:170px;height: 230px;" DataTextField="Text" DataValueField="Value" />		
			</td>
		</tr>
	</table>
</div>